package containers;
//This is a plain container class. Should contain no methods.
//It contains all immediate information about a informational message.
import java.sql.Timestamp;

public class Message
	{
	public int type;
	public int toPersonID;
	public int messageID;
	public int ownerPersonID;
	public int appointmentID;
	public int auxField;
	public Timestamp timestamp;
	public String auxString;
	
	public Message(int type,int toPersonID,int messageID,int ownerPersonID,int appointmentID,int auxField,String auxString,Timestamp timestamp)
		{
		this.type=type;
		this.toPersonID=toPersonID;
		this.messageID=messageID;
		this.ownerPersonID=ownerPersonID;
		this.appointmentID=appointmentID;
		this.auxField=auxField;
		this.auxString=auxString;
		this.timestamp=timestamp;
		}
	}
